package com.bbcare.followup.plat.store.ibatis;

import java.util.List;
import java.util.Map;

import com.bbcare.followup.plat.entity.FollowTaskContent;

/*
 * @name:         任务内容存储接口
 * @author:       DemonLee
 * @createTime:   2017.4.13
 * @description:  任务内容信息
 * @modify:
 * 
 */
public interface IFollowTaskContentDAO {
    /**
     * 查询任务内容list
     * 
     * @param taskId,schemeVersionid
     * @return list
     */
    public List<FollowTaskContent> selectByTaskId(Map<String, Object> paramMap) throws Exception;

    /**
     * 新增任务内容版本记录
     * 
     * @param taskId,schemeVersionid
     * @return int
     */
    public int saveTaskContNewVersion(Map<String, Object> paramMap) throws Exception;

    /**
     * 新增任务内容
     * 
     * @param
     * @return int
     */
    public int saveTaskContInfo(FollowTaskContent ftcVo) throws Exception;

    /**
     * 查询任务内容list
     * 
     * @param taskId,schemeVersionid,templId
     * @return list
     */
    public List<FollowTaskContent> selectByTaskAndTempl(Map<String, Object> paramMap) throws Exception;

    /**
     * 删除任务内容
     * 
     * @param
     * @return int
     */
    public int removeTaskContInfo(Map<String, Object> paramMap) throws Exception;
}
